package com.xdap.water.pojo;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;
import com.definesys.mpaas.query.json.MpaasDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Table("gt_project_tb")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GtFillProjectPojo extends SystemCommonPojo {
    @Style(displayName = "填报时间")
    @JsonSerialize(using = MpaasDateSerializer.class)
    @Column("tb_date")
    private Date fillDate;

    @Style(displayName = "项目名称")
    @Column("pro_name")
    private String projectName;

    @Style(displayName = "当前投资进度（万元）")
    @Column("dntzjd")
    private Double currentInvertAmount;

    @Style(displayName = "当年累计纳统进度（万元）")
    @Column("dnljntjd")
    private Double currentTotalInvertAmount;
}
